package com.xindaoapp.happypet.bean;

import java.io.Serializable;
import java.util.List;

import android.text.TextUtils;

@Deprecated
public class Post implements Serializable {
    public String addtime;
    public String author;
    public String authorid;
    public String dateline;
    public String fid;
    public String recommend_add;
    public String replies;
    public String subject;
    public String tid;
    public String userface;
    public String views;
    public String heats;
    public String digest;
    public String forumname;
    public String displayorder;
    public String attachment;
    public String videocover;
    public String updatetime;
    public String isvideo;
    public String ico;
    public String message;
    public String recommendmy;
    public String recommendtotal;
    public String picnum;

    public List<RecommendPerson> recommendarray;

    public class RecommendPerson implements Serializable {
        public String tid;
        public String recommenduid;
        public String dateline;
        public String username;
        public String userface;

        public RecommendPerson() {
            super();
            // TODO Auto-generated constructor stub
        }
    }


    public String getIsvideo() {
        return isvideo;
    }

    public void setIsvideo(String isvideo) {
        this.isvideo = isvideo;
    }

    public List<PostListItem> pics;

    public String getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime;
    }

    public String getVideocover() {
        return videocover;
    }

    public void setVideocover(String videocover) {
        this.videocover = videocover;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public List<PostListItem> getPics() {
        return pics;
    }

    public void setPics(List<PostListItem> pics) {
        this.pics = pics;
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getAuthorid() {
        return authorid;
    }

    public void setAuthorid(String authorid) {
        this.authorid = authorid;
    }

    public String getDateline() {
        return dateline;
    }

    public void setDateline(String dateline) {
        this.dateline = dateline;
    }

    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public String getRecommend_add() {
        return recommend_add;
    }

    public void setRecommend_add(String recommend_add) {
        this.recommend_add = recommend_add;
    }

    public String getReplies() {
        return replies;
    }

    public void setReplies(String replies) {
        this.replies = replies;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getUserface() {
        if (TextUtils.isEmpty(userface)) {
            return ico;
        }
        return userface;
    }

    public void setUserface(String userface) {
        this.userface = userface;
    }

    public String getViews() {
        return views;
    }

    public void setViews(String views) {
        this.views = views;
    }

    public String getHeats() {
        return heats;
    }

    public void setHeats(String heats) {
        this.heats = heats;
    }

    public String getDigest() {
        return digest;
    }

    public void setDigest(String digest) {
        this.digest = digest;
    }

    public String getDisplayorder() {
        return displayorder;
    }

    public void setDisplayorder(String displayorder) {
        this.displayorder = displayorder;
    }

    @Override
    public String toString() {
        return "Post [addtime=" + addtime + ", author=" + author + ", authorid=" + authorid
                + ", dateline=" + dateline + ", fid=" + fid + ", recommend_add=" + recommend_add
                + ", replies=" + replies + ", subject=" + subject + ", tid=" + tid + ", userface="
                + userface + ", views=" + views + ", heats=" + heats + ", digest=" + digest
                + ", displayorder=" + displayorder + ", attachment=" + attachment + ", videocover="
                + videocover + ", updatetime=" + updatetime + ", isvideo=" + isvideo + ", ico="
                + ico + ", pics=" + pics + "]";
    }


}
